package com.ml.mall.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName sys_subscription
 */
@TableName(value ="sys_subscription")
@Data
public class SysSubscription implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订阅名
     */
    @TableField(value = "sub_name")
    private String subName;

    /**
     * 描述信息
     */
    @TableField(value = "description")
    private String description;

    /**
     * 角色类型
     */
    @TableField(value = "role_type")
    private Integer roleType;

    /**
     * 公司账号数量限制
     */
    @TableField(value = "limit_user_num")
    private Integer limitUserNum;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
